/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pert13;

/**
 *
 * @author admin
 */
class Iseng {
    public static void main(String[] args) {
        Hewan kewan; // = new Hewan();
        kewan = new Anjing();
        kewan.suara();
        kewan = new Kucing();
        kewan.suara();
        kewan = new Bebek();
        kewan.suara();
    }
}